package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预算材料总计划对象 sys_material_plan
 * 
 * @author ruoyi
 * @date 2020-07-08
 */
public class SysMaterialPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @Excels({
            @Excel(name = "项目名称", targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name="创建时间",targetAttr = "pTime" ,type = Excel.Type.EXPORT),
            @Excel(name="项目经理",targetAttr = "pFounder",type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }

    /** 材料id */
    private Integer matId;

    /** 材料类型 */
    @Excel(name = "材料类型")
    private String matType;

    /** 材料分类 */
    @Excel(name = "材料分类")
    private String matClassification;

    /** 材料数据 */
    @Excel(name = "材料数据")
    private String matData;

    /** 材料详情 */
    @Excel(name = "材料详情")
    private String matDetails;

    /** 材料数量 */
    @Excel(name = "材料数量")
    private Integer matNumber;

    /** 项目外键 */
   // @Excel(name = "项目外键")
    private Long mId;

    /** 采购数量 */
   // @Excel(name = "采购数量")
    private Long mMolecule;

    public Long getmId() {
        return mId;
    }

    public void setmId(Long mId) {
        this.mId = mId;
    }

    public Long getmMolecule() {
        return mMolecule;
    }

    public void setmMolecule(Long mMolecule) {
        this.mMolecule = mMolecule;
    }
    public void setMatId(Integer matId) 
    {
        this.matId = matId;
    }

    public Integer getMatId() 
    {
        return matId;
    }
    public void setMatType(String matType) 
    {
        this.matType = matType;
    }

    public String getMatType() 
    {
        return matType;
    }
    public void setMatClassification(String matClassification) 
    {
        this.matClassification = matClassification;
    }

    public String getMatClassification() 
    {
        return matClassification;
    }
    public void setMatData(String matData) 
    {
        this.matData = matData;
    }

    public String getMatData() 
    {
        return matData;
    }
    public void setMatDetails(String matDetails) 
    {
        this.matDetails = matDetails;
    }

    public String getMatDetails() 
    {
        return matDetails;
    }
    public void setMatNumber(Integer matNumber) 
    {
        this.matNumber = matNumber;
    }

    public Integer getMatNumber() 
    {
        return matNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("matId", getMatId())
            .append("matType", getMatType())
            .append("matClassification", getMatClassification())
            .append("matData", getMatData())
            .append("matDetails", getMatDetails())
            .append("matNumber", getMatNumber())
                .append("mId", getmId())
                .append("mMolecule", getmMolecule())
                .append("proCreateBuilding",getProCreateBuilding())
            .toString();
    }
}
